package com.tinyengine.it.model.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 数据逻辑实体信息
 *
 * @TableName i_db_logical_info
 */
@Data
@TableName(value = "i_db_logical_fields_info")
public class DbLogicalFieldsInfoVo {

    private Integer id;

    @Schema(description = "tableId")
    private Integer tableId;
    /**
     * 属性代码
     */
    @Schema(description = "属性代码")
    private String code;

    /**
     * 属性名称
     */
    @Schema(description = "属性名称")
    private String name;

    /**
     * 主键 1/0
     */
    @Schema(description = "主键 1/0")
    private Boolean primaryKey;

    /**
     * 数据类型
     */
    @Schema(description = "数据类型")
    private String dataType;

    @Schema(description = "数据类型为object情况下的 逻辑实体ID")
    private Integer shipVoId;
    //@Schema(description = "数据类型为object情况下的 是否为集合,默认0(false)")
    //private Boolean isList;

    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;

}